package com.qqla.entity;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.qqla.config.LocalDateTimeConfig;
import lombok.Builder;
import lombok.Data;

import java.time.LocalDateTime;

@TableName("chat_records")
@Data
@Builder
public class ChatRecords {

    @TableId
    private Long id;

    private Long studyId;

    private String chatMessage;

    private Long userId;


    @JsonSerialize(using = LocalDateTimeConfig.LocalDateTimeSerializer.class)
    private LocalDateTime createTime;

}
